﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace Cloudthentic.SSIS.Server.Configuration
{
    public class SsisPackageConfigurationElement : ConfigurationElement
    {
        [ConfigurationProperty("PackageName", DefaultValue = "", IsRequired = true, IsKey = true)]
        public string PackageName
        {
            get
            {
                return (string)this["PackageName"];
            }

            set
            {
                this["PackageName"] = value;
            }
        }

        [ConfigurationProperty("PackagePath", DefaultValue = "", IsRequired = true, IsKey = true)]
        public string PackagePath
        {
            get
            {
                return (string)this["PackagePath"];
            }
            set
            {
                this["PackagePath"] = value;
            }
        }

        [ConfigurationProperty("PackageConfigPath", DefaultValue = "", IsRequired = false, IsKey = true)]
        public string PackageConfigPath
        {
            get
            {
                return (string)this["PackageConfigPath"];
            }
            set
            {
                this["PackageConfigPath"] = value;
            }
        }


    }
}
